/*
 * Copyright (c) ShaoxiongDu <Shaoxiong.dev@aliyun.com> 2021 all Rights Reserved
 */

package zh.codegym.task.task09.task0908;

/* 
使用字符串时发生异常
*/

public class Solution {
    public static void main(String[] args) throws Exception {
        //在此编写你的代码

        try {
            String s = null;
            String m = s.toLowerCase();
        } catch (NullPointerException nullPointerException) {
            System.out.println(nullPointerException);
        }


        //在此编写你的代码
    }
}
